home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global md5, rantime, mp
- set rantime to the ticks
- set mp to 8
- if the name of cast the castNum of sprite 8 = "taend" then
- set the castNum of sprite 8 to the number of cast "tastart"
- set md5 to the duration of cast the number of cast "tastart" - 3
- else
- set md5 to the duration of cast (the castNum of sprite 8 + 1) - 3
- set the castNum of sprite 8 to the castNum of sprite 8 + 1
- end if
- end
-